package com.example.practice.service.impl;

import com.example.practice.entity.Activity;
import com.example.practice.dao.CheckDao;
import com.example.practice.entity.Check;
import com.example.practice.service.CheckService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * (Check)表服务实现类
 *
 * @author makejava
 * @since 2023-12-21 11:38:40
 */
@Service("checkService")
public class CheckServiceImpl implements CheckService {
    @Resource
    private CheckDao checkDao;

    @Override
    public List<Activity> getCheckActivity(Integer uid){
        return this.checkDao.getCheckActivity(uid);
    }
    @Override
    public Integer checkPass(Integer aid){
        return this.checkDao.checkPass(aid);
    }
    @Override
    public Integer checkNotPass(Integer aid){
        return this.checkDao.checkNotPass(aid);
    }

    @Override
    public Check queryCheckStatus(Integer uid, Integer aid) {
        return this.checkDao.queryCheckStatus(uid,aid);
    }
    @Override
    public List<Check> getCheckByCollege(Integer uid){
        return this.checkDao.getCheckByCollege(uid);
    }
    @Override
    public Integer checkPassByCollege(Integer uid, Integer aid){
        return this.checkDao.checkPassByCollege(uid,aid);
    }
    @Override
    public Integer checkNotPassByCollege(Integer uid, Integer aid){
        return this.checkDao.checkNotPassByCollege(uid,aid);
    }
    @Override
    public Integer insertCheck(Integer uid,Integer aid){
        return this.checkDao.insertCheck(uid,aid);
    }
    @Override
    public Integer getStepByAid(Integer aid){
        return this.checkDao.getStepByAid(aid);
    }
    @Override
    public Integer getCollegeIdBySchool(Integer sid){
        return this.checkDao.getCollegeIdBySchool(sid);
    }

    @Override
    public Integer checkPassStudent(Integer uid, Integer aid){
        return this.checkDao.checkPassStudent(uid,aid);
    }
    @Override
    public Integer checkNotPassStudent(Integer uid, Integer aid){
        return this.checkDao.checkNotPassStudent(uid,aid);
    }

    @Override
    public Integer queryRegistrationStatus(Integer uid,Integer aid){return this.checkDao.queryRegistrationStatus(uid,aid);}
}
